<!DOCTYPE html>
<html>
<head>
    <title>查看详情</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" >

	
    <div id="tabs" v-show="tabsShow">
      
        <div class="tab-content">
            <!--历史备注-->
            <div id="hisRemarks" class="tab-pane fade">
                <div class="panel panel-primary">
                    <div class="grid-btn panel-body">
                        <form class="form-horizontal" style="width: auto " role="form" id="recharge">
                            <div class="form-group">
                                <label class="col-md-1 control-label">备注时间</label>
                                <div class="col-md-2">
                                    <input type="text"  class="form-control" v-model="query.startDate"
                                           id="startDate" name="startDate"
                                           placeholder="开始时间"
                                           onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                </div>
                                <div class="col-md-2"  >
                                    <input type="text" class="form-control" v-model="query.endDate"
                                           id="endDate" placeholder="结束时间" name="endDate"
                                           onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                                </div>

                                <label class="col-md-1 control-label">通话类型</label>
                                <div class="col-md-1">
                                    <select class="form-control" id="type" v-model="query.type" name="type" style="width: 80px">
                                        <option value="0">全部</option>
                                        <option value="1">呼入</option>
                                        <option value="2">呼出</option>
                                    </select>
                                </div>

                                <label class="col-md-1 control-label">客户人员</label>
                                <div class="col-md-1">
                                    <input type="text" class="form-control" v-model="query.cusName" name="cusName" />
                                </div>
                                <div class="col-md-1" >
                                    <button type="button" class="btn btn-primary " @click="query01">查询</button>
                                </div>
                                <div class="col-md-1">
                                	<button type="button" class="btn btn-primary " >呼出</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>


            <!--表格-->
            <div class="panel panel-primary">
                <div class="panel-body">
                    <table id="jqGrid"></table>
                    <div id="jqGridPager"></div>
                </div>
            </div>

        </div>

        </div>



    </div>
    	<div class="tab-content">
		    <!--备注详情-->
		    <div id="detail" v-show="detail" >
        <div class="panel panel-primary">
            <form class="form-horizontal"  role="form" >
                <div class="form-group">

                    <div class="col-md-1">
                        <input type="button"  class="btn btn-primary" VALUE="返回" @click="backToList()"/>
                    </div>
                    <div class="col-md-11">
                    </div>
                </div>
            </form>
            <div class="panel-body" style="width: auto">
                <table id="jqGridDetail"></table>
                <div id="jqGridPagerDetail"></div>
            </div>
        </div>
    </div>
			
			
		</div>
    <!--添加框-->
    <div id="add" v-show="add" >
        <div class="panel panel-primary">
            <form class="form-horizontal"  role="form" >
                <div class="panel-body" style="width: auto">
                        <textarea  class='body-textarea' v-model="addRm" style="width: 500px;height: 100px;margin-left: 460px"></textarea>
                        <input type="button"  class="btn btn-primary" VALUE="关闭" @click="backToList()" style="margin-left: 600px;margin-top: 20px"/>
                        <input type="button"  class="btn btn-primary" VALUE="提交" @click="addBz()"style="margin-left: 709px;margin-top: -56px"/>
                </div>
            </form>
        </div>
    </div>

</div>






    <script>
        $(function () {
            $('#myTab li:eq(0) a').tab('show');
        });
    </script>
    <script src="${rc.contextPath}/js/customerService/viewDetails2.js?_${date.systemTime}"></script>
    <script src="${rc.contextPath}/js/formatter.js?_${date.systemTime}"></script>
    <script language="javascript" type="text/javascript"
            src="${rc.contextPath}/statics/plugins/My97DatePicker4.7.2/WdatePicker.js"></script>
    </div>
</body>
</html>